package events;
import flash.events.Event;

/**
 * ...
 * @author Damien Mabin
 */

class ResizeEvent extends Event
{
	
    public static inline var EVENT : String = "ResizeEvent";
	
    public var m_Width : Float;
    public var m_Height : Float;
	
    public function new(_Width : Float, _Height : Float)   
    {
        super(EVENT);
        m_Width = _Width;
		m_Height = _Height;
    }
    
    override public function clone():Event
    {
        return new ResizeEvent(m_Width, m_Height);
    }
    
    override public function toString():String
    {
        return formatToString("ResizeEvent(" + m_Width + ", " + m_Height + ")");
    }
   
}